<template>
  <div class="notFound">
    <h1>当前页面不存在</h1>
    <p>请点击'回到首页'或者点击下方'电脑版'</p>
    <p>请前往<span @click="linkTo">电脑版</span>未来校招网站进行操作</p>
    <p class="img-box">
      <img src="../../assets/images/work.png">
    </p>
    <div class="submit">
      <button type="button" @click="jumpTo">返回首页</button>
    </div>
  </div>
</template>

<script>
export default {
  name: 'notFound',
  props: {},
  data () {
    return {}
  },
  mounted () {
  },
  created () {
  },
  methods: {
    jumpTo(){
      this.$router.replace({
        path: '/'
      })
    },
    linkTo(){
      window.open('https://www.weilaixiaozhao.com', '_blank')
    }
  },
  components: {},
}
</script>

<style lang="stylus" scoped>
.notFound {

  h1 {
    font-size: 36px;
    color: $color-main;
    height: 130px;
    line-height: 130px;
    text-align: center;
  }
  p {
    font-size: 14px;
    color: #999;
    text-align: center;
    margin-bottom 5px;
    span {
      color: $color-main;
    }
  }
  .img-box {
    margin-top: 45px;
  }
  .submit {
    margin-top: 50px;
    text-align: center;

    button {
      height: 45px;
      width: 335px;
      margin: 0 auto;
      background: $color-main;
      color: #fff;
      border: 1px solid $color-main;
      border-radius: 22.5px;
      font-size: 16px;
    }
  }
}
</style>

